<?php
$this->breadcrumbs=array(
	'综合控制台'=>array($this->pre_module_url.'/index/index'),
	'开发人员菜单'=>array($this->pre_module_url.'/admMenu/admin'),
	'前台菜单管理'=>array($this->pre_module_url.'/nav/admin'),
);
?>


<!--排序表单 -->
<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>$this->pre_module_url.'/nav/listorder',
	'method'=>'post',
)); ?>
	<div class="pro_filter c_f filter">
		<span class="mem_bgx link_btn mr5">
 	 		<?php echo CHtml::submitButton(' 保存排序 ',array('class'=>'')); ?>
  			<b class="mem_bgx left"></b><b class="mem_bgx right"></b>
  		</span>
	</div>
	 <ul class="main_class">
	 	<li class="main_type">
			<div class="item">
				<ul class="c_f type f_r t_c">
					<li class="w_170 f_l">菜单名称</li>
					<li class="w_210 f_l">菜单地址</li>
					<li class="w_100 f_l">菜单类型</li>
					<li class="w_80 f_l">排序</li>
					<li class="w_60 f_l">状态</li>
					<li class="w_120 f_l"><?php echo CHtml::link('新建一级菜单', array('create')); ?></li>
					<li class="w_100 f_l">操作</li>
				</ul>
			</div>
	 	</li>
		<?php $this->widget('zii.widgets.CListView', array(
			'dataProvider'=>Nav::model()->getTop(),
			'itemView'=>'_view',
			'emptyText'=>"",
			//'template'=>'{items}',
			'enablePagination'=>'false',
			'summaryText'=>'',
			'tagName'=>'ul',
			'itemsCssClass'=>'',
			'htmlOptions'=>array('class'=>'type_list')
		)); 
		?>
	</ul>
<?php $this->endWidget(); ?>

<script type="text/javascript">
$(function(){
	$('.type_list').FlodDown();
	$('ul').addClass('b_db');
});
</script>
